#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x;cin>>x;
	cout<<x/15<<" "<<x/20<<" "<<x*10*9;
	return 0;
}